package com.buaa.dao.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.buaa.dao.InstitutionAttDao;
import com.buaa.domain.InstitutionAtt;
import com.buaa.utils.HibernateUtil;

@Repository
public class InstitutionAttDaoImpl implements InstitutionAttDao {

	@Autowired
	private HibernateUtil hibernateUtil;

	@Override
	public InstitutionAtt getDetail(Long code) {
		return (InstitutionAtt) hibernateUtil.get(InstitutionAtt.class, code);
	}

}
